#include <QtGui>
#include "signalslotplugin.h"


SignalSlotPlugin::SignalSlotPlugin()
{

    qDebug() << "SignalSlotPlugin Initiated";
}

void SignalSlotPlugin::load(MainWindow* mv)
{
    qDebug() << "Emitting custom menu name...";
}

QString SignalSlotPlugin::getCustomMenuName()
{
    return "&File";
}

QWidget* SignalSlotPlugin::getWidget()
{
    QWidget* p = NULL;
    return p;
}

QString SignalSlotPlugin::getCustomActionName()
{
    return "SignalSlotPlugin";
}

QString SignalSlotPlugin::getCustomActionPos()
{
    return "&File";
}

SignalSlotPlugin::~SignalSlotPlugin()
{

}


void SignalSlotPlugin::alertsSlot()
{
    QString alertMessage = "Hello, I'm plugin";
    qDebug() << alertMessage;
    emit alert(alertMessage);
}

Q_EXPORT_PLUGIN2(signalslotplugin, SignalSlotPlugin);

